package com.example.springbootplm.service;

import com.example.springbootplm.pojo.Emp;
import com.example.springbootplm.pojo.Emp1;
import com.example.springbootplm.pojo.PageBean;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;


public interface EmpService {
    //分页查询
    PageBean page(Integer page, Integer pageSize);

    //条件分页分页查询
    //PageBean page(Integer page, Integer pageSize, String name , Integer age , LocalDate begin, LocalDate end);

    //批量删除
   // void delete(List<Integer> ids);

    //新增员工
    void save(Emp emp);

    //员工登录操作
    Emp1 login(Emp1 emp1);
}
